using UnityEngine;
using System.Collections;

public class FrontPaddle : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnCollisionEnter(Collision collision)
	{
		if(collision.gameObject.tag == "Bullet")
		{
			Destroy(collision.gameObject);
			Bullet.score += 100;
			audio.PlayOneShot(audio.clip);
		}
	}
}
